package com.sdx.console.answer.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.beetl.sql.core.annotatoin.ColumnIgnore;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;
import org.apache.commons.lang3.StringUtils;
import com.ibeetl.admin.core.util.ValidateConfig;
import com.sdx.service.ConfigService;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Version;
import org.beetl.sql.core.annotatoin.LogicDelete;
import com.sdx.common.utils.Utils;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

/* 
* 
* gen by Spring Boot2 Admin 2019-08-26
*/
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
@Data
public class QaAnswerInvite extends BaseEntity{

    //唯一主键
    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @AutoID	
    private Long inviteId ;
	
    //邀请编号[用作订单编号]
    private String inviteNo ;
	
    //问题ID
    private Long questionId ;
	
    //邀请类型[0-免费 1-收费]
    private Integer inviteType ;
	
    //邀请回答状态[0-待回答 1-已回答 2-拒回答]
    private Integer inviteStatus ;
	
    //服务价格，单位分[为0表示免费]
    private Integer servicePrice ;
	
    //支付状态[0-待支付 1-已支付]
    private Integer payStatus ;
	
    //支付时间
    private Date payTime ;
	
    //邀请用户ID
    private String fromCustomerId ;
	
    //被邀请用户ID
    private String toCustomerId ;
	
    private Date createdTime ;
	

}
